package java4;

import java.util.Scanner;

public class Code049 {
	public static void main(String[] args) {
		System.out.println("请输入第一个数:");
		Scanner input = new Scanner(System.in);
		int num1 = input.nextInt();
		System.out.println("请输入第二个数:");
		int num2 = input.nextInt();
		if(num1>=num2){
			System.out.println("最大值为:"+num1);
		}
		else {
			System.out.println("最大值为:"+num2);
	}
		

	}
}
